package subject1;

public class Test
{
    public static void main(String[] argv)
    {
        HeatFunc heatFunc=null;
        heatFunc=new CentralAC();
        heatFunc.heat();
        heatFunc=new InductionCooker();
        heatFunc.heat();
    }
}
